<?xml version="1.0" encoding="UTF-8"?>
<!--
    Document: $Id: Sample-4-doSearchResponse-structured.xml 2124 2009-01-30 20:22:20Z ys34 $
    Original : 7/15/2007
    LEXS version  : 3.1.4
    Description   : 
        Sample structured search response instance for LEXS 3.1
-->
<lexssr:doSearchResponse 
    xmlns:new="http://somewhere.gov/new-community" 
    xmlns:j="http://niem.gov/niem/domains/jxdm/4.0" 
    xmlns:scr="http://niem.gov/niem/domains/screening/2.0" 
    xmlns:nc="http://niem.gov/niem/niem-core/2.0" 
    xmlns:s="http://niem.gov/niem/structures/2.0" 
    xmlns:lexs="http://usdoj.gov/leisp/lexs/3.1" 
    xmlns:lexsdigest="http://usdoj.gov/leisp/lexs/digest/3.1" 
    xmlns:lexslib="http://usdoj.gov/leisp/lexs/library/3.1" 
    xmlns:lexssr="http://usdoj.gov/leisp/lexs/searchretrieve/3.1" 
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
    xsi:schemaLocation="http://usdoj.gov/leisp/lexs/searchretrieve/3.1 ../../xsd/search-retrieve/3.1/search-retrieve.xsd">
    <lexs:SearchResponseMessage>
        <lexs:SRMessageMetadata>
            <lexs:LEXSVersion>3.1.4</lexs:LEXSVersion>
            <lexs:MessageDateTime>2006-12-01T09:30:47.0Z</lexs:MessageDateTime>
            <lexs:MessageSequenceNumber>4</lexs:MessageSequenceNumber>
            <!--=======================  Message Origin  =======================-->
            <lexs:MessageOriginMetadata>
                <lexs:SystemIdentifier>
                    <!-- ORI and OriginatingAgencyID are optional here and were not include in sample  -->
                    <nc:OrganizationName>Hypothetical Organization E</nc:OrganizationName>
                    <lexs:SystemID>SysE</lexs:SystemID>
                </lexs:SystemIdentifier>
                <lexs:SystemContact>
                    <nc:PersonGivenName>Jim</nc:PersonGivenName>
                    <nc:PersonSurName>West</nc:PersonSurName>
                    <nc:ContactTelephoneNumber>
                        <nc:FullTelephoneNumber>
                            <nc:TelephoneNumberFullID>770-555-1212</nc:TelephoneNumberFullID>
                        </nc:FullTelephoneNumber>
                    </nc:ContactTelephoneNumber>
                </lexs:SystemContact>
            </lexs:MessageOriginMetadata>
            <!--====================== Message Destination ==========================-->
            <lexs:MessageDestinationIdentifier>
                <!-- ORI and OriginatingAgencyID are optional here and were not include in sample  -->
                <nc:OrganizationName>Hypothetical Organization F</nc:OrganizationName>
                <lexs:SystemID>SysF</lexs:SystemID>
            </lexs:MessageDestinationIdentifier>
        </lexs:SRMessageMetadata>
        <!--=======================  Response Metadata  =======================-->
        <lexs:ResponseMetadata>
            <lexs:ResultCode>Success</lexs:ResultCode>
            <lexs:InResponseToMessageSequenceNumber>3</lexs:InResponseToMessageSequenceNumber>
        </lexs:ResponseMetadata>
        <!--=======================  Search Response Metadata  =======================-->
        <lexs:SearchResponseMetadata>
            <lexs:StructuredQueryMatchScore>100</lexs:StructuredQueryMatchScore>
            <lexs:MaxItemMatchesRequested>10</lexs:MaxItemMatchesRequested>
            <lexs:NumberItemMatches>2</lexs:NumberItemMatches>
            <lexs:ServerLimitIndicator>false</lexs:ServerLimitIndicator>
        </lexs:SearchResponseMetadata>
        <!--=========================================================-->
        <!--=======================  Package #1  =======================-->
        <!--=========================================================-->
        <lexs:SearchResultPackage>
            <lexs:PackageMetadata>
                <lexs:DataItemID>12345678</lexs:DataItemID>
                <!-- DataItemContact is the person(s) who can be contacted about the data item  -->
                <!-- DataItemContact is optional, and there can be more than one -->
                <lexs:DataItemContact>
                    <!-- PersonName may be a split out name, or both a split out name and a full name.  Last name is required. -->
                    <nc:PersonSurName>Jackson</nc:PersonSurName>
                    <nc:PersonFullName>David Jackson</nc:PersonFullName>
                    <!-- Contact telephone number is required, other kinds of numbers optional -->
                    <nc:ContactTelephoneNumber>
                        <nc:FullTelephoneNumber>
                            <!-- Full phone number listed here, although the phone number could be split into parts -->
                            <nc:TelephoneNumberFullID>333-444-5555 x6</nc:TelephoneNumberFullID>
                        </nc:FullTelephoneNumber>
                    </nc:ContactTelephoneNumber>
                    <lexs:DomainAttribute>
                        <lexs:AttributeName>ContactRole</lexs:AttributeName>
                        <lexs:AttributeValue>Arresting Officer</lexs:AttributeValue>
                        <lexs:Domain>GBI</lexs:Domain>
                    </lexs:DomainAttribute>					
                </lexs:DataItemContact>
                <lexs:DataItemDate>2006-12-13</lexs:DataItemDate>
                <!-- DataItemReferenceID may be the same as the DataItemID, or may be a more human-readable version of DataItemID -->
                <lexs:DataItemLEXSVersion>3.1.3</lexs:DataItemLEXSVersion>
                <lexs:DataItemReferenceID>1912345678</lexs:DataItemReferenceID>
                <lexs:DataItemStatus>Closed_Case</lexs:DataItemStatus>
                <!--=======================  Data Owner Metadata  =======================-->
                <lexs:DataOwnerMetadata>
                    <lexs:DataOwnerIdentifier>
                        <lexs:OriginatingAgencyID>AA1234567</lexs:OriginatingAgencyID>
                        <nc:OrganizationName>Hypothetical Agency A</nc:OrganizationName>
                        <lexs:SystemID>SysA</lexs:SystemID>
                    </lexs:DataOwnerIdentifier>
                    <lexs:DataOwnerContact>
                        <nc:PersonGivenName>Will</nc:PersonGivenName>
                        <nc:PersonSurName>Jones</nc:PersonSurName>
                        <nc:ContactTelephoneNumber>
                            <nc:FullTelephoneNumber>
                                <nc:TelephoneNumberFullID>111-222-3333</nc:TelephoneNumberFullID>
                            </nc:FullTelephoneNumber>
                        </nc:ContactTelephoneNumber>
                        <lexs:DomainAttribute>
                            <lexs:AttributeName>ContactRole</lexs:AttributeName>
                            <lexs:AttributeValue>RMS Manager</lexs:AttributeValue>
                            <lexs:Domain>GBI</lexs:Domain>
                        </lexs:DomainAttribute>
                    </lexs:DataOwnerContact>
                </lexs:DataOwnerMetadata>
                <lexs:DisseminationCriteria>white</lexs:DisseminationCriteria>
            </lexs:PackageMetadata>
            <!--=======================  Digest  =======================-->
            <lexs:Digest>
                <lexsdigest:EntityPerson>
                    <lexsdigest:Person s:id="Sub1">
                        <nc:PersonName>
                            <nc:PersonGivenName>Tommy</nc:PersonGivenName>
                            <nc:PersonSurName>Jones</nc:PersonSurName>
                        </nc:PersonName>
                        <nc:PersonSSNIdentification xsi:nil="false">
                            <nc:IdentificationID>333-44-5555</nc:IdentificationID>
                        </nc:PersonSSNIdentification>
                    </lexsdigest:Person>
                </lexsdigest:EntityPerson>
            </lexs:Digest>
            <!--=======================  Data Submitter Metadata  =======================-->
            <lexs:DataSubmitterMetadata>
                <lexs:SystemIdentifier>
                    <nc:OrganizationName>Hypothetical Organization C</nc:OrganizationName>
                    <lexs:SystemID>SysC</lexs:SystemID>
                </lexs:SystemIdentifier>
                <lexs:SystemContact>
                    <nc:PersonGivenName>Michael</nc:PersonGivenName>
                    <nc:PersonSurName>Park</nc:PersonSurName>
                    <!-- Contact telephone number is required, other kinds of numbers optional -->
                    <nc:ContactTelephoneNumber>
                        <!-- Phone number listed here split into parts, although the full phone number field could be used instead or in addition to the parts -->
                        <nc:NANPTelephoneNumber>
                            <nc:TelephoneAreaCodeID>202</nc:TelephoneAreaCodeID>
                            <nc:TelephoneExchangeID>555</nc:TelephoneExchangeID>
                            <nc:TelephoneLineID>1212</nc:TelephoneLineID>
                        </nc:NANPTelephoneNumber>
                    </nc:ContactTelephoneNumber>
                    <lexs:DomainAttribute>
                        <lexs:AttributeName>ContactRole</lexs:AttributeName>
                        <lexs:AttributeValue>Data Center Operations</lexs:AttributeValue>
                        <lexs:Domain>GBI</lexs:Domain>
                    </lexs:DomainAttribute>					
                </lexs:SystemContact>
            </lexs:DataSubmitterMetadata>
        </lexs:SearchResultPackage>
        <!--=========================================================-->
        <!--=======================  Package #2  =======================-->
        <!--=========================================================-->
        <lexs:SearchResultPackage>
            <lexs:PackageMetadata>
                <lexs:DataItemID>12345679</lexs:DataItemID>
                <!-- DataItemContact is the person(s) who can be contacted about the data item  -->
                <!-- DataItemContact is optional, and there can be more than one -->
                <lexs:DataItemContact>
                    <!-- PersonName may be a split out name, or both a split out name and a full name.  Last name is required. -->
                    <nc:PersonSurName>Jackson</nc:PersonSurName>
                    <nc:PersonFullName>David Jackson</nc:PersonFullName>
                    <!-- Contact telephone number is required, other kinds of numbers optional -->
                    <nc:ContactTelephoneNumber>
                        <nc:FullTelephoneNumber>
                            <!-- Full phone number listed here, although the phone number could be split into parts -->
                            <nc:TelephoneNumberFullID>333-444-5555 x6</nc:TelephoneNumberFullID>
                        </nc:FullTelephoneNumber>
                    </nc:ContactTelephoneNumber>
                </lexs:DataItemContact>
                <lexs:DataItemDate>2006-12-13</lexs:DataItemDate>
                <!-- DataItemReferenceID may be the same as the DataItemID, or may be a more human-readable version of DataItemID -->
                <lexs:DataItemReferenceID>1912345679</lexs:DataItemReferenceID>
                <lexs:DataItemStatus>Closed_Case</lexs:DataItemStatus>
                <!--=======================  Data Owner Metadata  =======================-->
                <lexs:DataOwnerMetadata>
                    <lexs:DataOwnerIdentifier>
                        <lexs:OriginatingAgencyID>DD1234567</lexs:OriginatingAgencyID>
                        <nc:OrganizationName>Hypothetical Agency D</nc:OrganizationName>
                        <lexs:SystemID>SysD</lexs:SystemID>
                    </lexs:DataOwnerIdentifier>
                    <lexs:DataOwnerContact>
                        <nc:PersonGivenName>Will</nc:PersonGivenName>
                        <nc:PersonSurName>Dee</nc:PersonSurName>
                        <nc:ContactTelephoneNumber>
                            <nc:FullTelephoneNumber>
                                <nc:TelephoneNumberFullID>222-222-3333</nc:TelephoneNumberFullID>
                            </nc:FullTelephoneNumber>
                        </nc:ContactTelephoneNumber>
                    </lexs:DataOwnerContact>
                </lexs:DataOwnerMetadata>
                <lexs:DisseminationCriteria>white</lexs:DisseminationCriteria>
            </lexs:PackageMetadata>
            <!--=======================  Digest  =======================-->
            <lexs:Digest>
                <lexsdigest:EntityPerson s:id="ESub2">
                    <lexsdigest:Person s:id="Sub2">
                        <nc:PersonName>
                            <nc:PersonGivenName>Tommy</nc:PersonGivenName>
                            <nc:PersonMiddleName>Lee</nc:PersonMiddleName>
                            <nc:PersonSurName>Jones</nc:PersonSurName>
                        </nc:PersonName>
                        <nc:PersonSSNIdentification xsi:nil="false">
                            <nc:IdentificationID>034-78-6532</nc:IdentificationID>
                        </nc:PersonSSNIdentification>
                    </lexsdigest:Person>
                </lexsdigest:EntityPerson>
                <!--=======================  Associations  =======================-->
                <lexsdigest:Associations>
                    <lexsdigest:EntityPersonFacialImageAssociation>
                        <lexsdigest:EntityReference s:ref="ESub2"/>
                        <lexsdigest:AttachmentLinkReference s:ref="PAttachment2"/>
                    </lexsdigest:EntityPersonFacialImageAssociation>
                </lexsdigest:Associations>
            </lexs:Digest>
            <!--=======================  Package Attachment Link Mugshot  =======================-->
            <lexs:AttachmentLink s:id="PAttachment2">
                <lexs:AttachmentURI>http://www.gtri.org/LEXS/examples/TommyJonesMugshot1.jpg</lexs:AttachmentURI>
                <lexs:AttachmentViewableIndicator>true</lexs:AttachmentViewableIndicator>
                <nc:BinaryDescriptionText>Mug shot for Tommy Lee Jones</nc:BinaryDescriptionText>
            </lexs:AttachmentLink>
            <!--=======================  Data Submitter Metadata  =======================-->
            <lexs:DataSubmitterMetadata>
                <lexs:SystemIdentifier>
                    <lexs:ORI>DD1234567</lexs:ORI>
                    <nc:OrganizationName>Hypothetical Organization D</nc:OrganizationName>
                    <lexs:SystemID>SysD</lexs:SystemID>
                </lexs:SystemIdentifier>
                <lexs:SystemContact>
                    <nc:PersonGivenName>Michael</nc:PersonGivenName>
                    <nc:PersonSurName>Smith</nc:PersonSurName>
                    <!-- Contact telephone number is required, other kinds of numbers optional -->
                    <nc:ContactTelephoneNumber>
                        <!-- Phone number listed here split into parts, although the full phone number field could be used instead or in addition to the parts -->
                        <nc:NANPTelephoneNumber>
                            <nc:TelephoneAreaCodeID>303</nc:TelephoneAreaCodeID>
                            <nc:TelephoneExchangeID>555</nc:TelephoneExchangeID>
                            <nc:TelephoneLineID>1212</nc:TelephoneLineID>
                        </nc:NANPTelephoneNumber>
                    </nc:ContactTelephoneNumber>
                </lexs:SystemContact>
            </lexs:DataSubmitterMetadata>
        </lexs:SearchResultPackage>
    </lexs:SearchResponseMessage>
</lexssr:doSearchResponse>
